home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / gfx / 3d / irit50src.lha / irit5 / symb_lib / symb_loc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-23  |  1.2 KB  |  32 lines

  1. /******************************************************************************
  2. * Symb_loc.h - header file for the SYMBolic library.                  *
  3. * This header is also the interface header to the world.              *
  4. * This library is closely related to cagd_lib and should be linked with it.   *
  5. *******************************************************************************
  6. * Written by Gershon Elber, Mar. 90.                          *
  7. ******************************************************************************/
  8.  
  9. #ifndef SYMB_LOC_H
  10. #define SYMB_LOC_H
  11.  
  12. #include "cagd_lib.h"
  13.  
  14. /******************************************************************************
  15. * This macro is called when the library has detected an unrecoverable error.  *
  16. * Default action is to call CagdFatalError, but you may want to reroute this  *
  17. * to invoke your handler and recover yourself (by long jump for example).     *
  18. ******************************************************************************/
  19. #define SYMB_FATAL_ERROR(Msg)    SymbFatalError(Msg)
  20.  
  21. #define SYMB_GEN_COPY(Dst, Src, Size) memcpy((char *) (Dst), (char *) (Src), \
  22.                          Size)
  23.  
  24. #define W 0     /* Positions of points in Points array (see structs below). */
  25. #define X 1
  26. #define Y 2
  27. #define Z 3
  28.  
  29. #include "symb_lib.h"
  30.  
  31. #endif /* SYMB_LOC_H */
  32.